package cn.edu.suse.epilepsy.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@TableName("tb_patient_signup_activity")
@Data
public class SignupActivity {


    @TableId
    private Integer patientId;

    private String patientName;

    private Integer patientIllnessLength;

    @JsonFormat(pattern = "yyyy-MM-dd",locale="zh", timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date patientSignupTime;

    private  Integer patientIfview;

    private Integer patientActivityId;

    private Integer sex;
}
